package com.yoofn.framework.item

import android.databinding.ViewDataBinding
import android.support.v7.widget.RecyclerView

/**
 * Created by kalshen on 17-9-4.
 * @描述 选择类型 item
 */
abstract class SelectItem<T : ViewDataBinding>(recyclerView: RecyclerView) : BaseItem<T>(recyclerView) {
    /**
     * item 的选中状态
     */
    var isSelected = false

    /**
     * 设置 item 是否选中的状态切换
     */
    abstract fun setToggleAction()
}
